package iagovsothello.online.client;

import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Enumeration;

import iagovsothello.online.server.ServerWindow;

public class ClientTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		int port = ServerWindow.PORT;
		String name = "Orsetto";
		String surname = "Coccoloso";
		String ID = "087434";
		
		UDPDiscoverer discoverer = new UDPDiscoverer(ServerWindow.BROADCAST_IP_ADDRESS,ServerWindow.BROADCAST_PORT);
		System.out.println("Indirizzo del server: "+discoverer.getServerAddress(10000));
	}

}
